// 文件：com/ruoyi/snmanagement/domain/PrinterSn.java
package com.ruoyi.snmanagement.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

/**
 * <p>
 * 打印机序列号管理表
 * </p>
 *
 * @author ljh
 * @since 2025-09-24
 */
@Data
@TableName("printer_serial_numbers")
public class PrinterSn implements Serializable {
    @Excel(name = "id")
    private Long id;

    @Excel(name = "序列号")
    private String sn;
    // 对应 serial_numbers 字段

    @Excel(name = "打印机类型", dictType = "printer_printertype")
    private Integer printertype;
    // 对应 printer_type 字段

    @Excel(name = "打印机状态", dictType = "printer_printstatus")
    private Integer printstatus;
    // 对应 status 字段

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date registerTime;
    // 对应 create_time 字段

    private LocalDateTime createTime;
    // 对应 create_time 字段

    private LocalDateTime updateTime;
    // 对应 update_time 字段

    private Integer delFlag = 0;
    // 对应 is_deleted 字段

//    private String createBy;

    private String updateBy;
    // 对应 update_by 字段
}
